package com.zuoye.Opjo;

import com.zuoye.UBtil.DbUtil;

/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/29  19:09
 * @Copyright
 */
public class Student {
    private int id;
    private String name;
    private int age;
    private Double height;
    private String sex;
    private String birthday;
    private int cla_id;


    public Student() {
    }

    public Student(int id, String name, int age, Double height, String sex, String birthday, int cla_id) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.height = height;
        this.sex = sex;
        this.birthday = birthday;
        this.cla_id = cla_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getCla_id() {
        return cla_id;
    }

    public void setCla_id(int cla_id) {
        this.cla_id = cla_id;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", height=" + height +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", cla_id=" + cla_id +
                '}';
    }
}
